use "dataset_fort_worth_protests", clear

* mark protest topics
foreach x of varlist * {
	replace `x' = "\textbf{" + `x' + "}" if regex(Sub, "Atatiana Jefferson")
}
foreach x of varlist * {
	replace `x' = "\emph{" + `x' + "}" if regex(Sub, "George Floyd")
}

#delimit;

listtex 
	using "_output/table A9.tex"
	,
		replace 
		type 
		rstyle(tabular) 	
		head(
		\begin{tabular}{
		p{0.15\textwidth}
		p{0.6\textwidth}
		p{0.1\textwidth}
		}
		\toprule Date & Subjects & Size \\
		\midrule
		)
		foot("\bottomrule\end{tabular}")
		;
		
#delimit cr

